<?php

class Menus {
    
    protected $obj;
    
    public function __contruct(){

         }

    public function showProjectMenu() {
        $this->obj =& get_instance();     
        $this->obj->load->helper('url');
        $menu = "<ul>";
        $menu .= "<li>";
        $menu .= anchor("projectcontroller/getAllProjects", "List of Projects");
        $menu .= "</li>";
        $menu .= "<li>";
        $menu .= anchor("projectcontroller/input", "Input Project");
        $menu .= "</li>";
        $menu .= "<li>";
        $menu .= anchor("projectcontroller/updateProject", "Update Project");
        $menu .= "</li>";
        $menu .= "<li>";
        $menu .= anchor("projectcontroller/deleteProject", "Delete Projects");
        $menu .= "</li>";
        $menu .= "</ul>";

        return $menu;
    }

}
